const accountInfo = uni.getAccountInfoSync();
const env = accountInfo.miniProgram.envVersion;
const version = accountInfo.miniProgram.version;
export const setCache = (key, data) => {
	uni.setStorageSync((env + version + '_' + key), data);
};
export const getCache = (key) => {
	return uni.getStorageSync(env + version + '_' + key);
};
export const removeCache = (key) => {
	return uni.removeStorageSync(env + version + '_' + key);
};